import marketingApi from '@/config/server/api/marketing.js'

//拓客码详情列表
function tokerList(params) {
  return marketingApi.customerForCode.point.tokerList.fetch(params)
}

function createPoint(params) {
  return marketingApi.customerForCode.point.createPoint.fetch(params)
}
function delPoint(params) {
  return marketingApi.customerForCode.point.delPoint.fetch(params)
}

function createToker(params) {
  return marketingApi.customerForCode.point.createToker.fetch(params)
}
function basicsTokerList(params) {
  return marketingApi.customerForCode.point.basicsTokerList.fetch(params)
}
function tokerListExport(params) {
  return marketingApi.customerForCode.point.tokerListExport.fetch(params)
}

function getTokerAndChannelList(params) {
  return marketingApi.customerForCode.point.getTokerAndChannelList.fetch(params)
}

export default {
  tokerList,
  createPoint,
  delPoint,
  createToker,
  basicsTokerList,
  tokerListExport,
  getTokerAndChannelList
}
